<table width="100%" bordering="0" cellspacing="0" cellpadding="4">
  <tr>
    <td>
        <table bordering="0" cellspacing="0" cellpadding="4">
          <tr>
            <td width="1"><span style="white-space:nowrap;{if !$item.url}text-decoration:line-through;{/if}{if $item.item->get_published()}color:#009900;{/if}" {if $item.url}{popup text="`$item.url`"}{else}{popup text="N/A"}{/if}><strong>{$item.item->get_label()}</strong> (o: {$item.item->get_ordering()})</span></td>
			<td width="16">
            	{if $item.item->get_published()}
                	<a href="admin/modules/tangra_cms/menu/menu_manage.php?unpublish={$item.item->get_id()}&amp;manage={$tcms_menu->get_id()}" {popup text="Unpublish this menu item"}><img src="/img/modules/tangra_cms/mi_to_notpublished.png" alt="unpublish"  border="0" width="16" height="16" /></a>
                {else}
                	{if $item.item->can_publish()}
	                	<a href="admin/modules/tangra_cms/menu/menu_manage.php?publish={$item.item->get_id()}&amp;manage={$tcms_menu->get_id()}" {popup text="Publish this menu item"}><img src="/img/modules/tangra_cms/mi_to_published.png" alt="publish" border="0" width="16" height="16" /></a>                    
                    {else}
	                	<img src="/img/modules/tangra_cms/mi_cant_publish.png" alt="cannot publish" {popup text="Cannot be published. Some data is missing. Edit it and fill missing data."} border="0" width="16" height="16" />
                    {/if}
                {/if}
            </td>            
            <td>
	            <a href="{$item.type->get_page_edit_path()}{if $item.type->get_capture_prefix() == 'manage'}?manage={$item.item->get_id()}{else}?{$item.type->get_capture_prefix()}_obj_id={$item.item->get_id()}{/if}&amp;_transit_menu={$tcms_menu->get_id()}" {popup text="Edit"}><img src="/img/modules/crystal_icons_small/16x16/edit.png" border="0" /></a>
            </td>
            <td><a href="admin/modules/tangra_cms/menu/menu_item_create.php?_transit_menu={$tcms_menu->get_id()}&amp;parent={$item.item->get_id()}" {popup text="Create child menu item"}><img src="/img/modules/crystal_icons_small/16x16/add.png" border="0" /></a></td>            
            <td><a href="admin/modules/tangra_cms/menu/menu_manage.php?move_up={$item.item->get_id()}&amp;manage={$tcms_menu->get_id()}" {popup text="Move up"}><img src="/img/modules/crystal_icons_small/16x16/up.png" border="0" /></a></td>            
            <td><a href="admin/modules/tangra_cms/menu/menu_manage.php?move_down={$item.item->get_id()}&amp;manage={$tcms_menu->get_id()}" {popup text="Move down"}><img src="/img/modules/crystal_icons_small/16x16/down.png" border="0" /></a></td>            
            <td><a href="admin/modules/tangra_cms/menu/menu_item_delete.php?del={$item.item->get_id()}" {popup text="Delete"}><img src="/img/modules/crystal_icons_small/16x16/delete.png" border="0" /></a></td>                        
          </tr>
        </table>
    </td>
  </tr>
{if $item.item->get_subitems()}  
  <tr>
    <td>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          {foreach from=$item.item->get_subitems() item=subitem}
          <tr>
            <td width="1">&nbsp;&nbsp;&nbsp;&nbsp;</td>
            <td>{include file="modules/tangra_cms/pages/_menu/en/menu_manage/menu_item_row.tpl" item=$subitem}</td>            
          </tr>
          {/foreach}
        </table>
	</td>
  </tr>  
{/if}
</table>

